A staff officer serving as legal adviser to a military commander
An officer assigned to the judge advocate general